package com.zh.yqbj.exception.accountExcption;

import com.zh.yqbj.constant.ExceptionCodeConstant;

public class ErrorCodeException extends Exception {
    private static final String MSG = "验证码错误,";

    /**
     * 验证码错误
     */
    public ErrorCodeException() {
        super(MSG + ExceptionCodeConstant.ERROR_CODE_ERROR_CODE);
    }

    public ErrorCodeException(String msg) {
        super(msg + ExceptionCodeConstant.ERROR_CODE_ERROR_CODE);
    }
}
